home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / tools / czesc_3 / phoonsrc / original / imakefile < prev    next >
Makefile  |  1990-06-27  |  2KB  |  73 lines

  1. # @(#) $Header: /src/X11/contrib/demos/xphoon/RCS/Imakefile,v 1.2 90/04/05 18:17:54 tim Exp Locker: tim $ (LBL)
  2. #
  3. # Copyright (C) 1988 by Jef Poskanzer and Craig Leres.
  4. #
  5. # Permission to use, copy, modify, and distribute this software and its
  6. # documentation for any purpose and without fee is hereby granted, provided
  7. # that the above copyright notice appear in all copies and that both that
  8. # copyright notice and this permission notice appear in supporting
  9. # documentation.  This software is provided "as is" without express or
  10. # implied warranty.
  11.  
  12.  
  13.        INCLUDES = -I. -I$(TOP) -I$(TOP)/X11 -I$(TOP)/X11/bitmaps
  14. LOCAL_LIBRARIES = $(XLIB)
  15.   SYS_LIBRARIES = -lm
  16.  
  17. # System-dependent options -- xbigphoon is a little big for many Suns
  18. # to compile.
  19. #         DEFINES = -pipe
  20.  
  21.            SRCS1 = xphoon.c fullmoon.c phase.c dtime.c
  22.            OBJS1 = xphoon.o fullmoon.o phase.o dtime.o
  23.  
  24.         PROGRAMS = xphoon
  25.  
  26. ComplexProgramTarget_1(xphoon,$(LOCAL_LIBRARIES),)
  27.  
  28.  
  29. # Make the export sharchive.
  30. shar: xphoon.shar
  31.  
  32. xphoon.shar: xphoon.shar1 xphoon.shar2 xphoon.shar3 xphoon.shar4 xphoon.shar5
  33.  
  34. xphoon.shar1: README Imakefile Makefile xphoon.man xphoon.c fullmoon.c phase.c dtime.c tws.h
  35.     shar -v -c -p X README Imakefile Makefile xphoon.man xphoon.c fullmoon.c phase.c dtime.c tws.h >xphoon.shar1
  36.  
  37. bigfullmoon.xbm.Z: bigfullmoon.xbm
  38.     compress -c bigfullmoon.xbm >bigfullmoon.xbm.Z
  39.  
  40. bigfullmoon.xbm.Z.uu: bigfullmoon.xbm.Z
  41.     uuencode bigfullmoon.xbm.Z bigfullmoon.xbm.Z >bigfullmoon.xbm.Z.uu
  42.  
  43. bigfullmoon.xbm.Z.uuaa: bigfullmoon.xbm.Z.uu
  44.     split -550 bigfullmoon.xbm.Z.uu bigfullmoon.xbm.Z.uu
  45.  
  46. xphoon.shar2: bigfullmoon.xbm.Z.uuaa
  47.     shar -v -c -p X bigfullmoon.xbm.Z.uuaa >xphoon.shar2
  48.  
  49. xphoon.shar3: bigfullmoon.xbm.Z.uuab
  50.     shar -v -c -p X bigfullmoon.xbm.Z.uuab >xphoon.shar3
  51.  
  52. xphoon.shar4: bigfullmoon.xbm.Z.uuac
  53.     shar -v -c -p X bigfullmoon.xbm.Z.uuac >xphoon.shar4
  54.  
  55. xphoon.shar5: bigfullmoon.xbm.Z.uuad
  56.     shar -v -c -p X bigfullmoon.xbm.Z.uuad >xphoon.shar5
  57.  
  58. # Unpack the compressed, uuencoded, shared bitmap.
  59. unshar:
  60.     cat bigfullmoon.xbm.Z.uu?? > bigfullmoon.xbm.Z.uu
  61.     uudecode bigfullmoon.xbm.Z.uu
  62.     uncompress bigfullmoon.xbm.Z
  63.  
  64. # Make the export tarchive.
  65. tar: xphoon.tar.Z
  66.  
  67. xphoon.tar.Z: xphoon.tar
  68.     rm -f xphoon.tar.Z
  69.     compress xphoon.tar
  70.  
  71. xphoon.tar: README Imakefile Makefile xphoon.man xphoon.c fullmoon.c phase.c dtime.c tws.h bigfullmoon.xbm
  72.     tar chf xphoon.tar README Imakefile Makefile xphoon.man xphoon.c fullmoon.c phase.c dtime.c tws.h bigfullmoon.xbm
  73.